package com.he.principles.LSP.after;

/**
 * @description: TODO
 * @Author: HCL
 * @Date: 2024/8/22 10:48
 */
public class RectangleServiceImpl implements QuadrilateralService {

    private  double length;

    public void setLength(double length) {
        this.length = length;
    }

    public void setWidth(double width) {
        this.width = width;
    }

    private double width;

    @Override
    public double getLength() {
        return length;
    }

    @Override
    public double getWidth() {
        return width;
    }
}
